package com.oocl.rcm.db;

import com.oocl.rcm.model.Customer;

public class MyLinkListFactory {
	
	private static MyLinkedList<Customer> list = null;
	
	
	public static MyLinkedList<Customer> getInstance(){
		if(list == null){
			list = new MyLinkedList<Customer>();
			list.add(new Customer(1, "Mike", "m", "01-01", "shandong", "156"));
			list.add(new Customer(2, "Kelvin", "m", "02-01", "shanxi", "180"));
			list.add(new Customer(3, "Joe", "m", "03-01", "hebei", "136"));
			list.add(new Customer(4, "Sarah", "f", "04-01", "henan", "144"));
			list.add(new Customer(5, "Carmen", "f", "05-01", "guagndong", "118"));
			list.add(new Customer(6, "Weir", "m", "06-01", "guangxi", "110"));
			list.add(new Customer(7, "Evan", "m", "07-01", "fujian", "120"));
			list.add(new Customer(8, "Jody", "m", "08-01", "wuhan", "119"));
			list.add(new Customer(9, "Scott", "m", "09-01", "hunan", "116"));
			list.add(new Customer(10, "Peng", "m", "10-01", "hubei", "155"));
		}
		return list;
	}
	
}
